@(form: Form[(String,String)])
<div class='control-group@{if(form.error("email") == null){""}else{" error"}}'>
    <label class="control-label" for="email">Email</label>

    <div class="controls">
        <input type="email" id="email" name="email" placeholder="email" value='@form("email").value'/>
        @if(form.error("email") != null){
        <span class="help-inline">error</span>
        }
    </div>
</div>
<div class='control-group@{if(form.error("password") == null){""}else{" error"}}'>
    <label class="control-label" for="password">Password</label>

    <div class="controls">
        <input type="password" id="password" name="password" placeholder="password" value='@form("password").value'/>
        @if(form.error("password") != null){
            <span class="help-inline">error</span>
        }
    </div>
</div>